package dao;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2017/4/24.
 */
public interface CommonDaoInter<T> {

    void save(T entity);
    List<T> queryAll();
    List<T> findList(Class<T> clazz, String where);//根据条件查找
    T get(Class<T> clazz, Serializable id);//通过学号查找

}
